package com.zzyl.constant;

public class CacheConstants {

    public static final String RESOURCE = "resource:";

    public static final String LIST = RESOURCE + "list";
    public static final String TREE = RESOURCE + "tree";

    public static final String PUBLIC_ACCESS_URLS = "user:public_access_urls:";

    public static final String PRODUCT_LIST = "iot:product_list";

    public static final String DEVICE_LASTDATA_CACHE_KEY = "iot:device_last_data";

    /**
     * 报警次数缓存key
     */
    public static final String ALERT_COUNT_CACHE_KEY = "iot:alert_count";

    /**
     * 沉默周期
     */
    public static final String ALERT_SILENT_PERIOD = "iot:alert_silent_period";

    /**
     * 缓存父包
     */
    public static final String RESOURCE_PREFIX = "resource:";
    public static final String RESOURCE_LIST = RESOURCE_PREFIX + "list";
    public static final String RESOURCE_TREE = RESOURCE_PREFIX + "tree";

}
